#include "Thread.hpp"
#include <unistd.h>

void *Routine(void* args)
{
    std::cout<<"hello new tcb"<<std::endl;
}

int main()
{
    MyThread::Thread<int> t([](){
        std::cout<<"hello new tcb"<<std::endl;
    },3);
    t.Start();
    t.Detach();
    t.Stop();
    t.Join();
    return 0;
}